<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/filterobj',
    'namespace' => 'Frieza\\Modules\\Filterobj\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    //话题相关
    $router->get('/index', 'FilterObjController@index');//过滤内容列表
    $router->delete('/index/{id}', 'FilterObjController@del');//删除
    $router->get('/index/create', 'FilterObjController@add');//添加页面
    $router->get('/index/{id}/edit', 'FilterObjController@edit');//修改页面
    $router->post('/index/save', 'FilterObjController@editSubmit');//添加、修改提交
});